package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 何华树
 * Date: 2024-09-06
 * Time: 8:51
 */
public abstract class Animal {
    public String name;
    public int age;
    public abstract void eat();

    public Animal(String name, int age) {
        this.name = name;
        this.age = age;
    }

}
